import("./src/utils").then(module => {
    console.log(module);
})

const bigint1 = 123456789987654321n
const bigint2 = BigInt(123456789987654321)

console.log(bigint1); // 123456789987654321n
console.log(bigint2); // 123456789987654320n1

const bigint3 = BigInt("123456789987654321")
console.log(bigint3); // 123456789987654321n

// console.log(1n + 1); Uncaught TypeError: Cannot mix BigInt and other types, use explicit conversions
// console.log(Math.pow(2n,64n)); Uncaught TypeError: Cannot convert a BigInt value to a number

console.log(1n == 1); // true
console.log(1n === 1); // false

console.log(1n < 2); // true
console.log(1n < 1); // false

console.log(Number(1n)); // 1
console.log(BigInt(1)); // 1n

// console.log(BigInt(1.2));  Uncaught RangeError: The number 1.2 cannot be converted to a BigInt because it is not an integer
console.log(Number(123456789987654321)); // 123456789987654320 超出最大范围也会导致精度丢失